package com.longxiao.entity;

import java.util.Date;

public class TaskRecord {
    private Integer id;

    private String taskNo;

    private Date completeTime;

    private String userId;

    private Integer cpScore;

    private Date createdTime;

    private Date modifiedTime;

    public TaskRecord() {
    	
    }
    
    public TaskRecord(String taskNo, Date completeTime, String userId, Integer cpScore) {
		super();
		this.taskNo = taskNo;
		this.completeTime = completeTime;
		this.userId = userId;
		this.cpScore = cpScore;
		Date date = new Date();
		this.createdTime = date;
		this.modifiedTime = date;
	}


	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTaskNo() {
        return taskNo;
    }

    public void setTaskNo(String taskNo) {
        this.taskNo = taskNo == null ? null : taskNo.trim();
    }

    public Date getCompleteTime() {
        return completeTime;
    }

    public void setCompleteTime(Date completeTime) {
        this.completeTime = completeTime;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public Integer getCpScore() {
        return cpScore;
    }

    public void setCpScore(Integer cpScore) {
        this.cpScore = cpScore;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getModifiedTime() {
        return modifiedTime;
    }

    public void setModifiedTime(Date modifiedTime) {
        this.modifiedTime = modifiedTime;
    }
}